/* 
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body {
	font-family: 'Source Sans Pro', sans-serif;
}

* {
	box-sizing: border-box;
}

a {
	color: #333;
}


/*.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
	width: 100%;
	margin: 0 auto;
	background: #e9e9e9;
	height: 9vh;
	top: 0;
	position: fixed;
	_position: absolute;
	_top: expression(documentElement.scrollTop + "px");
	z-index: 9999;
	text-align: left;
}

.menu {
	height: 8.5vh;
	position: relative;
}

.menuimg {
	background-color: #e9e9e9;
	height: 8vh;
	width: 4vw;
	margin: 0;
	top: 0.4vh;
	left: 10vw;
	position: absolute;
}

.menu-ul {
	margin: 0 auto;
	width: 70%;
	height: 8.5vh;
	list-style: none;
	padding: 0;
	position: absolute;
	box-sizing: border-box;
	text-align: center;
	top: 0;
	left: 22vw;
}


.menu>ul>li>ul>li>ul>li>a:hover {
	color: #204D74;
	font-size: 1.5rem;
}

.menu>ul>li>ul>li>ul>li>a {
	position: relative;
	text-decoration: none;
	font-size: 10px;
	color: #333;
}

.menu>ul>li>ul>li>ul>li>a:before {
	content: "";
	position: absolute;
	left:70px;
	bottom: -2px;
	height: 1px;
	width: 30%;
	background: #4285f4;
	transform: scale(0);
	transition: all 0.3s;
}

.menu>ul>li>ul>li>ul>li>a:hover:before {
	
	transform: scale(1);
}


/*搜索框*/

.bar8 input,
button {
	border: none;
	outline: none;
}

.bar8 input {
	width: 50%;
	height: 42px;
	padding-left: 13px;
}

.bar8 button {
	border-radius: 25px;
	height: 42px;
	width: 42px;
	cursor: pointer;
	position: absolute;
}

.bar8 {
	background: #B46381;
}

.bar8 input {
	border-radius: 25px;
	width: 0;
	padding: 0 42px 0 15px;
	border-bottom: 2px solid transparent;
	background: transparent;
	transition: .3s linear;
	position: absolute;
	top: 1.5vh;
	right: 10vw;
	z-index: 2;
}

.bar8 input:focus {
	width: 200px;
	z-index: 1;
	border-bottom: 2px solid #F9F0DA;
}

.bar8 button {
	top: 1.5vh;
	right: 10vw;
}

.bar8 button:before {
	/*content: "\f002";*/
	font-family: FontAwesome;
	font-size: 16px;
	color: #F9F0DA;
}

.menu-mobile {
	display: none;
	padding: 20px;
}

.menu-mobile:after {
	content: "\f394";
	font-family: "Ionicons";
	font-size: 2.5rem;
	padding: 0;
	float: right;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-25%);
	-ms-transform: translateY(-25%);
	transform: translateY(-25%);
}

.menu-dropdown-icon:before {
	content: "\f489";
	font-family: "Ionicons";
	display: none;
	cursor: pointer;
	float: right;
	padding: 1.5em 2em;
	background: #C0C0C0;
	color: #333;
}

.menu>ul:before,
.menu>ul:after {
	content: "";
	display: table;
}

.menu>ul:after {
	clear: both;
}

.menu>ul>li {
	float: left;
	background: #e9e9e9;
	padding: 0;
	margin: 0;
}

.menu>ul>li a {
	text-decoration: none;
	padding: 1.5em 3em;
	display: block;
}

.menu>ul>li:hover {
	background: #f0f0f0;
}

.menu>ul>li>ul {
	display: none;
	width: 80%;
	background: #f0f0f0;
	padding: 20px;
	position: absolute;
	z-index: 99;
	left: 0;
	margin: 0;
	list-style: none;
	box-sizing: border-box;
}

.menu>ul>li>ul:before,
.menu>ul>li>ul:after {
	content: none;
	display: table;
}

.menu>ul>li>ul:after {
	clear: both;
}

.menu>ul>li>ul>li {
	margin: 0;
	padding-bottom: 0;
	list-style: none;
	width: 25%;
	background: none;
	float: left;
}

.menu>ul>li>ul>li a {
	color: #777;
	padding: .2em 0;
	width: 100%;
	display: block;
	border-bottom: 1px solid #ccc;
}

.menu>ul>li>ul>li>ul {
	display: block;
	padding: 0;
	margin: 10px 0 0;
	list-style: none;
	box-sizing: border-box;
}

.menu>ul>li>ul>li>ul:before,
.menu>ul>li>ul>li>ul:after {
	content: "";
	display: table;
}

.menu>ul>li>ul>li>ul:after {
	clear: both;
}

.menu>ul>li>ul>li>ul>li {
	float: left;
	width: 100%;
	padding: 10px 0;
	margin: 0;
	font-size: .8em;
}

.menu>ul>li>ul>li>ul>li a {
	border: 0;
}

.menu>ul>li>ul.normal-sub {
	width: 300px;
	left: auto;
	padding: 10px 20px;
}

.menu>ul>li>ul.normal-sub>li {
	width: 100%;
}

.menu>ul>li>ul.normal-sub>li a {
	border: 0;
	padding: 1em 0;
}

.menu>ul>li>ul {
	text-align: center;
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 1300px) {
	.menu-container {
		width: 100%;
		
	}
	.menu-mobile {
		display: block;
	}
	.menu-dropdown-icon:before {
		display: block;
	}
	.menu {
		margin: 0;
	}
	.menu>ul {
		top: 9vh;
		left: 0;
		display: none;
		text-align: left;
		width: 100%;
	}
	.menu>ul>li {
		width: 100%;
		float: none;
		display: block;
	}
	.menu>ul>li a {
		padding: 1.5em;
		margin: 0;
		width: 100%;
		display: block;
	}
	.menu>ul>li>ul {
		position: relative;
		text-align: left;
		margin: 0;
		padding-top: 0;
	}
	.menu>ul>li>ul.normal-sub {
		width: 100%;
	}
	.menu>ul>li>ul>li {
		float: none;
		width: 100%;
		/*margin-top: 20px;*/
	}
	.menu>ul>li>ul>li:first-child {
		margin: 0;
	}
	.menu>ul>li>ul>li>ul {
		margin: 0;
		padding: 0;
		position: relative;
	}
	.menu>ul>li>ul>li>ul>li {
		margin-top: 0;
		border: #AC2925 1px;
		float: none;
	}
	.menu .show-on-mobile {
		display: block;
	}
	.bar8 button {
		height: 30px;
		width: 30px;
		top: 2vh;
		right: 30vw;
	}
	.bar8 input {
		height: 30px;
		top: 2vh;
		right: 30vw;
	}
	.bar8 input:focus {
		width: 150px;
		z-index: 1;
		border-bottom: 2px solid #F9F0DA;
	}
	
	
	.menu>ul>li>ul>li>ul>li>a:before {
	width: 0;
	
}
.menu>ul>li>ul>li>ul>li>a:hover {
	color: #204D74;
	font-size: 1.2rem;
}
}